package com.xuecheng.content.mapper;

import com.xuecheng.commons.model.vo.TeachplanMediaVo;
import com.xuecheng.commons.model.vo.TeachplanVo;
import com.xuecheng.content.domain.TeachplanMedia;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author itheima
 * @since 2022-09-14
 */
public interface TeachplanMediaMapper extends BaseMapper<TeachplanMedia> {


    //查询媒资
    List<TeachplanVo> treeNodes(@Param("courseId") Long courseId);
}
